home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Pascal / Snippets / ResForkUtilities / README next >
Encoding:
Text File  |  1994-05-03  |  2.3 KB  |  39 lines  |  [TEXT/R*ch]

  1. {        ResForkUtilities.p                                                                                            }
  2. {                                                                                                                            }
  3. {        Written by: Keith R. Dunleavy                                                                        }
  4. {        (kdunleav@student.med.harvard.edu)                                                                }
  5. {                                                                                                                            }
  6. {        Code history:                                                                                                }
  7. {        Written for use with Symantec THINK Pascal 4.0 (Object Oriented)                }
  8. {        First created as Version 1.0 on 4/17/92                                                        }
  9. {        Icon plotting code added on 5/11/92                                                                }
  10. {                                                                                                                            }
  11. {        A conglomeration of Resource Fork utilities.                                                    }
  12. {                                                                                                                            }
  13. {        ACKNOWLEDGEMENTS:                                                                                    }
  14. {    *    Code used for the plotting of icons was translated from Patrick C. Beard's        }
  15. {        C coded "ShowIconFamily" source (modified by: James W. Walker).                }
  16. {    *    Code used for the obtainment of application version information was                }
  17. {        inspired by Apple's Developer Technical Support Notes #189                         }
  18. {        "Version Territory"                                                                                        }
  19. {                                                                                                                            }
  20. {        COMMENTS:                                                                                                    }
  21. {        There are certainly ways to code these methods more efficiently. For            }
  22. {        instance, the seperate methods for PlotSmall and PlotLarge icons could be         }
  23. {        combined with some parameter passed in to make the necessary calcs            }
  24. {        which are different between the two resource formats. Nevertheless...            }
  25. {        these methods were written with the intent of helping out those who,                }
  26. {        like I was, are grapling with the tasks of mapping "things" to PixMaps.            }
  27. {        For a while I could find nobody who had concrete code for doing a color            }
  28. {        mapping to the screen. Eventually I got some good tips though.                         }
  29. {        So... I included the fruits of these tips, and some other resource handlers        }
  30. {        for your enjoyment. I hope that they're helpfull. This is certainly                     }
  31. {        EducationWare and is no big deal. If you do write a program that uses these    }
  32. {        methods 8.7 gazillion times... please just mention it.                                        }
  33. {                                                                                                                            }
  34. {        CORRECTIONS:                                                                                                }
  35. {        Things can always be coded better. People usually make mistakes. So please,    }
  36. {        if you have any suggestions, corrections, questions, or even some helpful        }
  37. {        resource handler methods of your own... don't hesitate to drop me some            }
  38. {        EMail at the above address.                                                                            }
  39.